package com.xu.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Detail {

private  int id ;
    private  int invid ;
private  String content;
    private  String author;
    @DateTimeFormat(pattern = "yy-mm-dd hh-mm-ss")
    private Date createdate;


}
